const baseUrl = 'http://localhost:8989';
const search = window.location.search;
const params = new Object();
if (search.length > 1) {
    const pairs = search.substring(1).split('&');
    for (let i = 0; i < pairs.length; i++) {
        const pair = pairs[i].split('=');
        params[pair[0]] = decodeURIComponent(pair[1]);
    }
}
